package com.lfnyxy.dao.org;


import com.lfnyxy.dto.DropVo;
import com.lfnyxy.entity.org.SysRoleEntity;
import com.lfnyxy.query.org.SysRoleQuery;

import java.util.List;

/**
 * Created by ted on 17/5/8.
 */
public interface SysRoleDao {
    int CreateItem(SysRoleEntity entity);

    int UpdateItem(SysRoleEntity entity);

    List<SysRoleEntity> QueryPageList(SysRoleQuery query);

    List<SysRoleEntity> QueryAll();

    List<DropVo> QueryDrop(SysRoleQuery query);

    int QueryPageListCount(SysRoleQuery query);

    int CheckIsExist(SysRoleEntity entity);

    SysRoleEntity QueryItem(int Id);

    int DeleteItem(int Id);
}